package com.jzg.sys.rest;


import com.jzg.sys.manager.SecUserManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.jzg.sys.common.rest.BaseRest;

/**
 * <p>
    * 用户
    * </p>
 *
 * @author lzp
 * @since 2019-02-22
 */
@RestController
@RequestMapping("/secUserRest")
@Api(value = "secUserRest", description = "用户")
public class SecUserRest extends BaseRest {
    @Autowired
    private SecUserManager secUserManager;

    @ApiOperation(value = "快速登录")
    @RequestMapping(value = "/test", method = RequestMethod.GET)
    @ResponseBody
    public void test(){
        int c = secUserManager.count();
        System.out.println("11111"+c);
    }
}
